<!DOCTYPE html>
<html lang="en">
  <head>
        <meta charset="utf-8">
        <title>修改密码</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
	<load href="__JS__/jQuery/jquery.js" />
   	<load href="__JS__/jQuery/jquery.form.js" />
	<script type="text/JavaScript">
       $(function(){
           $('#form1').ajaxForm({
				//beforeSubmit:  function(){alert("before");},  // pre-submit callback
				success:       complete,  // post-submit callback
				error:function(){alert("error");},
				dataType: 'json'
			});
           
			function complete(data){
			if (data.status==1)
			{
				window.location='__URL__/index';
             }else{
				$('#result').html(data.info).show();
             }
		}
	});
	</script>
</head>
<body>
<layout name="Auth:header" />
    	<div class="container-fluid">
     		<div class="row-fluid">
  			  <layout name="Auth:leftmenu" />
              	 <div class="span8">
                    <div class="hero-unit">
                  	<h1>修改密码</h1>
                    <p style="font-size:12px">当前位置：
                        <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                        <a href='__URL__/index' class="nowpositionhref">后台管理</a>>
                        <a href="" class="nowpositionhref">修改密码</a>
                    </p>
                    </div>
                    

	<div id='result' style="position:relative; left:340px; "></div>	
	
		<form id='form1' method="post" action="__URL__/alterpw_post">
        	<table>
            	<tbody>
                	<tr><td><input type='password' name='password1' class="input-xlarge" placeholder="原始密码"></td></tr>
                    <tr><td><input type='password' name='password2' class="input-xlarge" placeholder="新密码"></td></tr>
                    <tr><td><input type='password' name='password3' class="input-xlarge" placeholder="再次输入"></td></tr>
                    <tr><td><input type='submit' value='提交' class="btn btn-success" style="width:80px;"></td></tr>
                </tbody>
            </table>
		</form>
	</div>
   </div>
</div>
<script src="__JS__/placeholderIEshow.js"></script>
</body>
</html>